package com.zhangpu.feign.service;

import org.springframework.stereotype.Component;

/**
 * @Author: zhangpu
 * @License: (C) Copyright hualala.com Corporation Limited.
 * @Contact: zhangpu@hualala.com
 * @Date: 2021.07.20 11:56
 * @Version: 1.0
 * @Description:
 * @ProjectName: spring-cloud-eureka
 */

@Component
public class SchedualServiceHystrix implements FeignHystrixService {


    @Override
    public String getSpringcloudInfo(String name) {
        return "我是断路器，服务出现了问题，所以我来告诉你";
    }
}